<!DOCTYPE html>

<!-- BEGINNING OF HEADER -->

<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<?php
    $this->LoadHead();
?>
	<link href='http://fonts.googleapis.com/css?family=Doppio+One' rel='stylesheet' type='text/css'>
	<link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,600,700' rel='stylesheet' type='text/css'>
<?php

    //PROVISORIOS
     $this->Html->LoadCss("calendario"); 
     $this->Html->LoadCss("messages"); 
     $this->Html->LoadCss("usuarios");
     $this->Html->LoadCss("ocorrencias");
     $this->Html->LoadCss("ajustes");

    $this->Html->LoadCss("basic");
    $this->Html->LoadCss("bootstrap");
    $this->Html->LoadCss("sprites");
    $this->Html->LoadCss("style");

    $this->Html->LoadCss("groups");
    /* color scheme  */
    $this->Html->LoadCss("general");
/*     $this->Html->LoadCss("base"); */
/*     $this->Html->LoadCss("base_red"); */
/*     $this->Html->LoadCss("style"); */
/*     $this->Html->LoadCss("ocorrencias"); */
/*     $this->Html->LoadCss("calendario"); */
/*     $this->Html->LoadCss("messages"); */
/*     $this->Html->LoadCss("usuarios"); */
/*     $this->Html->LoadCss("plugins/menu/treeview"); */
?>

<body>

<!-- general-outer -->
<div id="general-outer">

    <!--header -->
    <div id="header-wrap">
        <div id="header">
            
            <h1 id="logo">
                <a href="" class="sprites logo"><?php echo SITE_NOME;?></a>
            </h1>
            
            <div id="nav">
                <?php
                    if(CURRENT_MODULE != "ocorrencia"){
                        $menu_superior = $this->getMenuPlugins();
                        //$this->LoadJsPlugin("menu/dropdown", "mddown");
                        $this->LoadJsPlugin("menu/menu", "mddown");
                        $this->mddown->draw($menu_superior, "", "menu-dropdown");
                    }
                    $this->LoadRegion("menu-superior");
                    
                ?>
            </div>
            
        </div>
    </div>

    <!-- content-outer -->
    <div id="content-wrap">

       <!-- content -->
       <div id="content">
           <div id="response"><?php $this->LoadMessages(); ?></div>
           
            <!-- main 
            <div id="esq">
            <?php 
            if(isset($menu)){
                if(!empty ($menu)){
                    if(isset($menu_title))echo "<h3 id='menu_title'>$menu_title</h3>";
                    $this->LoadJsPlugin("menu/multiple", "ms"); 
                    $this->ms->draw($menu);
                }
            }
            
            $this->LoadRegion("menu-lateral");
            ?>
            </div>-->

            
                <div id="main" class="clearfix">
                    <?php
                        $this->LoadRegion("body-top");
                        $this->Load("body");
                     ?>
                <!-- /main -->
                </div>
                <div id="dir">
                        <?php $this->Load("Apoio"); ?>
                </div>
        <!-- content -->
        </div>
        
    <!-- /content-out -->
    </div>
	
	<div id="footer-wrap">
		<div id="footer">
			<div class="pull-left"><a href="#header">Voltar para o topo</a></div>
		    <div class="pull-right">powered by <a href="#">Groops</a></div>
	    </div>
	</div>
	
</div>
<!-- /general-outer -->	

</body>
</html>
